package cn.kai.org.domain;

import cn.kai.basic.domain.BaseDomain;
import cn.kai.org.query.DepartmentQuery;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;

    //确认密码
    private String comfirmPassword;

    //部门
    private Department department;
    //店铺
    private Shop shop;
    //查询信息
    private DepartmentQuery keyword;

    //角色
    private List<Long> roles;

}
